home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / cal14s13.arc / CALLS.DOC < prev    next >
Text File  |  1989-04-08  |  14KB  |  365 lines

  1.  
  2.                              CALLS.EXE
  3.  
  4.               Call analyzer for PCBoard versions 11.7 
  5.   (updated for PCBoard 11.8 and PCB/ProDOOR, S.H.Smith, 07/05/87)
  6.           (updated for PCBoard 12.1, S.H.Smith, 01/16/88)
  7.  
  8.  
  9.      Note:  Warren Lauzon is no longer supporting this program 
  10.                (since he's completely rewriting it)
  11.         So, please don't bother him with support questions.
  12.  
  13.               If you need help with it, contact me at
  14.                          Samuel H. Smith,
  15.                        Sysop, The Tool Shop
  16.                           (602) 279-2673
  17.  
  18.  
  19.  
  20.                  CHANGE HISTORY (in reverse order)
  21.                  =================================
  22.  
  23. Changed message formats to support ProDoor 3.0 betas as of 4-9-89.
  24. Added support for 38400 bps connect speeds.
  25.  
  26. Version 14s13 09-Apr-89 S.H.Smith
  27. -----------------------------------------------------------------------
  28.  
  29. Corrected the handling of empty caller logs.  This makes it possible to
  30. generate multiple reports from the same caller log by re-running the
  31. calls program with 'NUL' in place of the caller log filename.
  32. Eliminated the use of Borland's CRT unit.  Ansi codes are now used to
  33. control the local display.
  34.  
  35. Usage:
  36. -----
  37.  
  38. calls CALLERS-FILE OUTPUT-FILE REPORT-LIST MIN-DOWNLOAD PEAK-HOURS
  39.  
  40. CALLERS-FILE is your pcboard CALLER file.  Use "NUL" to repeat previous data.
  41. OUTPUT-FILE  defaults to BLT99
  42. REPORT-LIST  defaults to ANBCDEFGHIJKLM
  43. MIN-DOWNLOAD defaults to 2
  44.  
  45. PEAK-HOURS   defaults to YNNNNNNNNNNNNNNNNYYYYYYY
  46.                         {0         1         2   }
  47.                         {012345678901234567890123}
  48.  
  49. The legal REPORT-LIST letters are:
  50.    A: system statistics            B: graphic modes
  51.    C: baud rates                   D: hourly usage
  52.    E: conferences joined           F: bulletins read
  53.    G: doors opened                 H: download protocols
  54.    I: download efficiency          J: upload protocols
  55.    K: upload efficiency            L: batch sizes
  56.    M: files downloaded             N: security statistics
  57.                                    Z: insert a blank line
  58.  
  59. Examples:
  60.  
  61.   calls \pcb\main\caller \gen\blt3
  62.             ;uses default report list, min-download and peak-hours.
  63.  
  64.   calls \pcb\main\caller \gen\blt3 ABCEFG 4 NNNNNNNNYYYYYYYYYNNNNNNN
  65.             ;to specify peak hours you MUST also include 
  66.             ;the report-list and min-download paremeters.
  67.  
  68.   calls nul \gen\blt-usage D
  69.   calls nul \gen\blt-files M
  70.             ;repeat previous report date in different formats or to
  71.             ;alternate output files
  72.  
  73.  
  74. Sample EVENT.SYS lines for two node systems:
  75. -------------------------------------------
  76.  
  77. rem Update NODE 1 caller log database
  78. cd \pcb1
  79. type \pcb\main\daycal1 >>\pcb\main\caller1
  80. if exist calls.sav     calls \pcb\main\daycal1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  81. if not exist calls.sav calls \pcb\main\caller1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  82. copy \pcb\main\daycal1 \pcb\main\yester1
  83. copy \pcb\main\newcal1 \pcb\main\daycal1
  84.  
  85. rem Update NODE 2 caller log database
  86. cd \pcb2
  87. type \pcb\main\daycal2 >>\pcb\main\caller2
  88. if exist calls.sav     calls \pcb\main\daycal2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  89. if not exist calls.sav calls \pcb\main\caller2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  90. copy \pcb\main\daycal2 \pcb\main\yester2
  91. copy \pcb\main\newcal2 \pcb\main\daycal2
  92.  
  93. rem Create top uploaders/downloaders bulletin
  94. cd \pcb
  95. topusr main\users gen\blt5 20 4 120
  96.  
  97. Version 14s12 12-Mar-89 S.H.Smith
  98. -----------------------------------------------------------------------
  99.  
  100. Changes to allow 'ZIP' to be used instead of 'ARC'.
  101. Fixed some reports where 100.0% exceeded the margins.
  102. Corrected display of 'last caller log entry' on screen.
  103.  
  104. Version 14s11 27-Feb-89 S.H.Smith
  105. -----------------------------------------------------------------------
  106.  
  107. Rewrote file scanning procedures to sequentially access the caller log.
  108. This makes it possible to report from log files that have been partially
  109. corrupted by a text editor or another program failure.  Added a report
  110. of messages entered via the Qmail door.
  111.  
  112. Version 14s10 31-Jan-89 S.H.Smith
  113. -----------------------------------------------------------------------
  114.  
  115. Several statistics were double counting.  Improved format of hourly
  116. utilization graphic.  Added new statistic for CD-ROM library access.
  117. Slight speedup.
  118.  
  119. Version 14s9 29-Jan-89 S.H.Smith
  120. -----------------------------------------------------------------------
  121.  
  122. Corrected an error that prevented the report from counting callers with
  123. 'NEW' in their city name!  Uploads are no longer included in the list of
  124. files downloaded.
  125.  
  126. Version 14s8 10-Jan-89 S.H.Smith
  127. -----------------------------------------------------------------------
  128.  
  129. Removed case sensitivity on most caller log entries.
  130.  
  131. Version 14s7 05-Jan-89 S.H.Smith
  132. -----------------------------------------------------------------------
  133.  
  134. Added color output files.
  135. Added support for 4800 baud connections.
  136. Corrected formatting in bar graphs for items with 100%.
  137.  
  138. Version 14s6 31-Dec-88 S.H.Smith
  139. -----------------------------------------------------------------------
  140.  
  141. Removed ARC-specific terminology.  Updated for similar changes in
  142. ProDoor betas dated after 10-9-88.
  143.  
  144. Version 14s4 10-Oct-88 S.H.Smith
  145. -----------------------------------------------------------------------
  146.  
  147. Added a report of "Free Downloads" for compatibility with 9/30
  148. prodoor betas.
  149. Added a "Peak Hours" command line parameter.
  150. Deleted "Time Distribution" report because it was so slow and inaccurate.
  151.  
  152. Version 14s3 10-03-88 S.H.Smith
  153. -----------------------------------------------------------------------
  154.  
  155. Updated for new conference joined and bulletin read log formats.
  156. Added a check for empty caller log files.
  157.  
  158. Version 14s2 24-Sep-88 S.H.Smith
  159. -----------------------------------------------------------------------
  160.  
  161. Updated protocol letters for PCBoard 14 compatibility.
  162.  
  163. Version 14s1 20-Sep-88 S.H.Smith
  164. -----------------------------------------------------------------------
  165.  
  166. Updated new user registration for new PCB 14 message format.
  167.  
  168. Version 12s21 22-Jul-88 S.H.Smith
  169. -----------------------------------------------------------------------
  170.  
  171. Added support for node chat.
  172.  
  173. Version 12s20 22-Jun-88 S.H.Smith
  174. -----------------------------------------------------------------------
  175.  
  176. Added a new data file CALLS.DIR, and a new graph of Time Usage by Activity.
  177. Create the file CALLS.DIR in the current directory.  List all your download
  178. and upload directories in this file (one directory per line).   CALLS will
  179. use this to search for each file that has been downloaded or uploaded.  The
  180. files must be located to determine file size, which is used to calculate the
  181. minutes spent downloading and uploading.  File sizes are determined only the
  182. first time a file is seen.
  183.  
  184. Version 12s19 12-Jun-88 S.H.Smith
  185. -----------------------------------------------------------------------
  186.  
  187. Changed ARCM message counter to a long integer to prevent overflows.
  188.  
  189. Version 12s17 10-May-88 S.H.Smith
  190. -----------------------------------------------------------------------
  191.  
  192. Added support for ProDoor's new ARC Mail feature.
  193.  
  194. Version 12s16 16-Apr-88 S.H.Smith
  195. -----------------------------------------------------------------------
  196.  
  197. Added checks for 24:xx instead of 00:xx in some caller log entries.
  198. Should prevent some runtime errors.
  199.  
  200. Version 12s15 12-Mar-88 S.H.Smith
  201. -----------------------------------------------------------------------
  202.  
  203. Recompiled with stack and range check enabled - slower, but safer.
  204.  
  205. Version 12s14 11-Feb-88 S.H.Smith
  206. -----------------------------------------------------------------------
  207.  
  208. Improved bulletin activity report formatting.
  209. Made changes to allow caller logs with over 32000 entries.  Changed graphics
  210. to allow > 100% (for MNP modems in efficiency reporting).
  211.  
  212. Version 12s13 11-Feb-88 S.H.Smith
  213. -----------------------------------------------------------------------
  214.  
  215. Made the 'remote dos time' statistic work properly (broken ever since
  216. PCB 12.)   Added entries in protocol table for all letters of
  217. the aplhabet.
  218.  
  219. Version 12s12 19-Jan-88 S.H.Smith
  220. -----------------------------------------------------------------------
  221.  
  222.  
  223. Added the ability to store an internal summary of your caller log. 
  224. This makes it possible to add small daily caller logs and produce 
  225. the full report without keeping the whole caller log on file.  It 
  226. also reduces time spent scanning the log file. 
  227.  
  228. Each time CALLS is run, it looks for CALLS.SAV in the default 
  229. directory.  If it is present, it loads this "saved summary" into 
  230. memory and adds the specified caller file to it.  After the report 
  231. is generated, CALLS.SAV is updated to include the new data.   Here 
  232. is a recommended EVENT.SYS sequence: 
  233.  
  234.      1. cd \pcb
  235.      2. calls main\daycal gen\blt3 zzAzNBCDEFGHIJKLM 2
  236.      3. type main\daycal >>main\caller
  237.      4. del main\daycal
  238.  
  239. Use PCBSETUP to change the caller log filename from the usual 
  240. 'caller' to 'daycal' - this will be your "daily caller log".   
  241.  
  242. Line 2 runs the caller log report on the daily log and generates 
  243. BLT3.  Line 3 adds the daily caller log to the end of the 
  244. "historical" caller log.  Line 4 deletes the daily log (pcboard 
  245. will make a new one for you).   
  246.  
  247. If you are short on disk space, you don't even need to keep the 
  248. 'main\caller' - just delete it.  The information in CALLS.SAV will 
  249. be enough to generate the full caller log report. 
  250.  
  251. If for some reason you want to start over with a fresh log, just 
  252. delete 'calls.sav' and calls.exe will create a new one for you.   
  253.  
  254. If you don't want to take advantage of this 'daily caller log' 
  255. feature, just add the line 
  256.    del calls.sav
  257. before the 'calls \pcb\main ...' line in your event.sys - without 
  258. the .sav file, it will act just like it used to. 
  259.  
  260. Note: if you run CALLS twice on the same caller log, the 
  261. information will be added to CALLS.SAV twice!  So, either make a 
  262. backup copy of CALLS.SAV, or always delete daycal when you run 
  263. calls. 
  264.  
  265. Version 12s11 16-Jan-88 S.H.Smith
  266. -----------------------------------------------------------------------
  267.  
  268. Moved security related statistics to a new report (code 'N'). Added 
  269. a fourth parameter to specify the minimum number of downloads 
  270. needed to include a file in the files-downloaded report. 
  271.  
  272. Version 12s10 31-Dec-87 S.H.Smith
  273. -----------------------------------------------------------------------
  274.  
  275. Sorted entries in system statistics report.  Added reporting of 
  276. Archive test runs, archive extract runs and re-arc runs. 
  277.  
  278. Version 12s9 27-Dec-87 S.H.Smith
  279. -----------------------------------------------------------------------
  280.  
  281. Added a third command-line parameter to specify the reports to 
  282. generate. This lists the specific report sections to produce and 
  283. the order in which they will appear.   
  284.  
  285. If, for example, you wanted to produce only the hourly usage (D), 
  286. bulletins read (F), and system statistics (A) reports (in that 
  287. order), the command line would be: 
  288.    calls \pcb\main\caller \pcb\gen\blt3 DFA
  289.  
  290. -----------------------------------------------------------------------
  291.  
  292. Version 12s7 21-Dec-87
  293. Version 12s6 29-Nov-87
  294. Version 12s5 20-Nov-87
  295. Version 12s4 07-Nov-87
  296. Version 12s3 12-Oct-87
  297. Version 12s1 10-Oct-87
  298.  
  299.  
  300.  
  301.                       ORIGINAL DOCUMENTATION
  302.                       ======================
  303.  
  304.  
  305. Phoenix Arizona                                  Feb 23, 1987
  306.  
  307.      This documentation covers version 11.8 of CALLS118.COM, a 
  308. call analyzer for PCBoard 11.8. 
  309.      It was written in Turbo Pascal, and is in it's 7th update 
  310. with this version.  Previous versions had various names and 
  311. version numbers such as "pcbcalls", "calls5b" etc.  From now on, 
  312. it will carry the same version number as PCBoard.  If any 
  313. revisions are made or required, it will have a letter suffix. (ie 
  314. 117b). 
  315.      This version contains only minor mods to include changes made 
  316. in going from 11.6 to 11.7.  The Imodem and Gmodem protocols have 
  317. been added, some minor cleanup was done on the displays, and the 
  318. error file, BLT99.DOC has been eliminated as redundant and of not 
  319. much value. 
  320.  
  321. OPERATION
  322.  
  323.      This version works pretty much the same as all previous 
  324. versions with the exception that the error file "BLT99.DOC" has 
  325. been eliminated. 
  326.      The program is very easy to run, requiring only access to the 
  327. callers file.  This can be done in one of two ways: If you run it 
  328. from your 'MAIN' dir, you can just type CALLS118 and it will 
  329. default to an input file name of "CALLERS" and an called 
  330. "CALLFILE.DOC". 
  331.      It will also support command line parameters, so you can use 
  332. it in a batch file or in your "EVENT.SYS" file, as I do. The .COM 
  333. file should be in your \PCB dir, though this is not required.  
  334. Below is a sample of part of my .SYS file: 
  335.  
  336.   calls117 d:\pcb\main\callers e:\pcb\gen\blt10
  337.  
  338. Both parameters should be specified: the first one tells it where 
  339. to find the file (d:\pcb\main\callers) and the name of the callers 
  340. file.  The second tells it where to put the output file, in this 
  341. case I am sending it to Drive D with the name "BLT10". 
  342.  
  343. There are a couple of things that make for better operation: 
  344.   1.  Do not mix callers logs of pcboard 10.0 and 11.7.  I have
  345. heard of no problems mixing 11.6, 11.7 and 11.8.
  346.   2.  For proper operation, your clock and date MUST be correct; if 
  347. the programs finds that your log begins in 1987 and ends in 1980, 
  348. it will usually abort.  If not, the numbers will be totally wrong 
  349. in most cases. 
  350.   It is recommended, though not required, that you start a new 
  351. callers log if you are new to this program.  It is most accurate 
  352. when the log begins with "New callers log initiated "etc. 
  353.  
  354.      Please give it a try and let me know what you think of it, as 
  355. the only way I can put in needed changes is with feedback from the 
  356. users.  You can leave any comments at my board (Phoenix Techline) 
  357. at 602 936-3058 (1200-9600), 24 hours. 
  358.  
  359.      I have included the source code in this version so that it may 
  360. be customized if you desire.  If you make any major changes or 
  361. improvements, please upload them to my board at 602 936 3058. 
  362.  
  363.                           Warren Lauzon
  364.     
  365.